package com.fesine.ch02.synchronizedBlockLockAll.test1;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/5 16:22
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/5 16:22
 */
public class Run1 {
    public static void main(String[] args) {
        Service service = new Service();
        MyObject object = new MyObject();
        ThreadA a = new ThreadA(service,object);
        a.setName("a");
        a.start();
        ThreadB b = new ThreadB(service,object);
        b.setName("b");
        b.start();
    }
}
